#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @time     : 2019/7/4 15:57
# @Author   : BYF
# file      : config.py
# @version  :

import os
import time

#设置测试用例地址
# data_path=os.path.join(os.path.dirname(os.getcwd()),'data')
# data_path="/Users/moon/Lyx/test/python/lefull_pytest/data"
data_path=r"C:\Users\小狐狸的小王子\Desktop\test-lefull\python框架\LeFulltest\lefull_pytest\data"


# 报告文件路径，若文件不存在则新增文件，文件存在则修改文件
now=time.strftime("%Y%m%d-%H%M%S")
report_xml_path = os.path.join(os.path.dirname(os.getcwd()), "report/xml/")
report_html_path = os.path.join(os.path.dirname(os.getcwd()), "report/html/")
now = time.strftime("%Y%m%d-%H%M%S")
report_path = os.path.join(report_html_path, 'report_{}.html'.format(now))

# 设置接口请求超时时间（秒）
time_out=3